package com.hskn.hss.module.alarmsheshi.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.core.domain.BaseEntity;
import com.hskn.hss.core.page.TableDataInfo;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.alarmperson.entity.AlarmPerson;
import com.hskn.hss.module.alarmsheshi.entity.AlarmSheshi;
import com.hskn.hss.module.alarmsheshi.entity.AlarmSheshiCharts;
import com.hskn.hss.module.alarmsheshi.vo.AlarmSheshiTableDetailVO;

import java.text.ParseException;
import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2021-05-21
 */
public interface IAlarmSheshiService extends IService<AlarmSheshi> {

    void deal(JSONObject params) throws HssException;

    JSONObject mList(BaseEntity entity, JSONObject params) throws HssException;

    JSONObject getAbnormal() throws HssException;

    JSONObject getSheshiPolice(JSONObject params) throws HssException;

    JSONObject collectList(JSONObject params) throws HssException;

    List<List<Object>> selectAlarmSheshiForCharts(AlarmSheshi alarmSheshi) throws ParseException;

    List<AlarmSheshiCharts> selectAlarmSheshiForChartsTable(AlarmSheshi alarmSheshi);

    TableDataInfo selectAlarmSheshiForTableDetail(AlarmSheshi alarmSheshi);

    List<AlarmSheshiTableDetailVO> getAlarmSheshiTableDetailVOS(AlarmSheshi alarmSheshi);
}
